export function Fetch(url, method, params = {}) {
    // 配置域名
    let baseURL = "data-conf-center-server"
    return fetch(baseURL + url, {
            method: method,
            mode: "cors",
            headers: {
                "Content-Type": "application/json",
            },
            body: JSON.stringify(params),
        })
        .then((response) => response.json())
}